<?php 
/**
* 学生模型
*/
class StuModel extends Model
{
	
	public function getTenStu()
	{
		$sql ="select * from stu order by age limit 10";
		return $this->query($sql);
	}
}









 ?>